package com.web.web.config;

import com.web.web.request.LoginInterceptor;
import com.web.web.request.SessionUserArugmentResolver;
import org.springframework.context.annotation.ImportSelector;
import org.springframework.core.type.AnnotationMetadata;

public class SessionRegistrar implements ImportSelector {

    @Override
    public String[] selectImports(AnnotationMetadata annotationMetadata) {
        return new String[]{
                LoginInterceptor.class.getName(),
                SessionUserArugmentResolver.class.getName(),
                WebConfigurer.class.getName(),
        };
    }
}
